package com.bot.nft.module.dc.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bot.common.mybatis.core.BaseMapperPlus;
import com.bot.nft.module.dc.domain.DcFlowLog;
import com.bot.nft.module.dc.domain.vo.CertFlowVo;
import com.bot.nft.module.dc.domain.vo.DcFlowLogVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author RenXiaoZheng
 * @since 2024-01-24
 */
public interface DcFlowLogMapper extends BaseMapperPlus<DcFlowLogMapper, DcFlowLog, DcFlowLogVo> {

    //分页查询藏品流转记录
    Page<DcFlowLogVo> selectDcFlow(@Param("inPhone") String inPhone, @Param("outPhone") String outPhone, @Param("name") String name, Page page);


    List<CertFlowVo> getFlowLogByCertId(String certId);

}
